package com.rerun.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rerun.common.util.JsonDateFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author dax.
 * @version v1.0
 * @since 2017/11/9 16:35
 * @see com.rerun.phone.memberuser.ParkController#findWatchedParks(String)
 * @see com.rerun.phone.memberuser.ParkController#findParksCollectionMe(String)
 */

public class WatchedMeParkVo implements Serializable {
    private static final long serialVersionUID = -5986868324357424831L;

    private long parkId;
    private String logo;
    private String parkName;
    private String parkNature;
    private String num;
    private String address;
    @JsonSerialize(using = JsonDateFormat.class)
    private Date watchTime;

    public long getParkId() {
        return parkId;
    }

    public void setParkId(long parkId) {
        this.parkId = parkId;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }

    public String getParkNature() {
        return parkNature;
    }

    public void setParkNature(String parkNature) {
        this.parkNature = parkNature;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getWatchTime() {
        return watchTime;
    }

    public void setWatchTime(Date watchTime) {
        this.watchTime = watchTime;
    }

    @Override
    public String toString() {
        return "{" +
                "parkId:" + parkId +
                ", logo:" + logo +
                ", parkName:" + parkName +
                ", parkNature:" + parkNature +
                ", num:" + num +
                ", address:" + address +
                ", watchTime:" + watchTime +
                '}';
    }
}
